import request from './request'

// 多场景异常接口返回状态
export interface ResDto {
  code: number,
  msg: string
}

// 校验身份证
export interface IdCardNoVerifyDto {
  userName: string
  idCardNo: string
  msg?: string
  index?: number
}

export interface IdCardNoVerifyResDto extends ResDto {
  data: IdCardNoVerifyDto[]
}

export function checkoutIdCardNoList (data: IdCardNoVerifyDto[]): Promise<IdCardNoVerifyResDto> {
    return request.post('/rest/common/batchIdCardNoVerify', data)
}
